//
//  PurseView.h
//  MyWallet
//
//  Created by 小肥羊 on 15/7/15.
//  Copyright (c) 2015年 小肥羊. All rights reserved.
//
//  钱袋

#import <UIKit/UIKit.h>
#import "MoneyView.h"

@class PurseView;
@protocol PurseViewDelegate <NSObject>

- (void)saveMoney:(PurseView *)purseView;
- (void)drawMoney:(PurseView *)purseView;

@end


@interface PurseView : UIView <MoneyViewDelegate>

@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;           /**< 金额文本 */
@property (weak, nonatomic) IBOutlet MoneyView *moneyView;          /**< 钱视图 */

@property (nonatomic, retain) id <PurseViewDelegate> delegate;      /**< 钱袋代理 */

- (void)setMoney:(float)money;

@end
